<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="utf-8"%>
<%@ page import="com.mde.test.*" %>
<%
int action = Integer.parseInt(request.getParameter("action"));
switch (action) {
	case 1 : 
		Counter.restoreInced();
		Incer.inc();
		out.println("Started");
		break;
	case 2 :
		out.println(Counter.isInced());
		break;
	case 3 : 
		out.println(Counter.getCount());
		break;
	case 4 :
		Processor.process(request.getParameter("param"));
		out.println("Request is confirmed");
		break;
	default :
		break;
}	

%>